package com.dayu;

import com.dayu.helper.MySQLHelper;
import com.dayu.helper.OracleHelper;
import com.dayu.helper.PostgreSQLHelper;
import com.dayu.helper.SQLServerHelper;
import com.dayu.frame.DocFrame;

import javax.swing.*;

// Press Shift twice to open the Search Everywhere dialog and type `show whitespaces`,
// then press Enter. You can now see whitespace characters in your code.
public class Main {
    public static void main(String[] args) throws UnsupportedLookAndFeelException, ClassNotFoundException, InstantiationException, IllegalAccessException {
        // Press Alt+Enter with your caret at the highlighted text to see how
        // IntelliJ IDEA suggests fixing it.
        System.out.printf("Hello and welcome!");
        Class.forName(MySQLHelper.DriverClassName);
        Class.forName(OracleHelper.DriverClassName);
        Class.forName(PostgreSQLHelper.DriverClassName);
        Class.forName(SQLServerHelper.DriverClassName);
        new DocFrame().setVisible(true);

    }
}